<div id="tiga_ba">
	<div id="tiga_baa">Setting Masa Berlaku </div>
	<div id="tiga_bab">
		
	</div>
	<div class="clear"></div>
</div>

<table class="tabel">
	<tr>
		<th>NO</th>
		<th>Aksi</th>
		<th>Keterangan</th>
		<th>Masa Berlaku (Hari)</th>
	</tr>
	<?php
		$sql="select * from setting_waktu order by id_setting";
		//echo $sql;
		$qry=mysql_query($sql);
		$no=$posisi + 1;
			while($hasil=mysql_fetch_array($qry)){
	?>
				<tr>
					<td align="center" width="30"><?php echo $no;?></td>
					<td align="center" align="center" width="60">
						<a href="utama.php?module=mod_waktu&view=form_edit&id=<?php echo $hasil['id_setting'];?>">
						<img src="asset/images/edit.png" title="Ubah Data"></a> 
					</td>
					<td ><?php echo $hasil['keterangan'];?></td>
					<td align="center"><?php echo $hasil['masa_berlaku'];?></td>
				</tr>
				
		<?php
				$no++;
			}
		?>
</table>
        